package com.ruoyi.project.survey.service;


import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.survey.domain.dto.QuestionDto;
import com.ruoyi.project.survey.domain.entity.Question;
import com.ruoyi.project.survey.domain.entity.UserQuestion;
import com.ruoyi.project.survey.domain.param.QuestionDetailQuery;
import com.ruoyi.project.survey.domain.param.UserQuestionAdd;
import com.ruoyi.project.survey.domain.param.UserQuestionQuery;

import java.util.List;

/**
 * 做问卷表(UserQuestion)表服务接口
 *
 * @author makejava
 * @since 2024-03-17 08:41:43
 */
public interface UserQuestionService {
    /**
     * 6. 做调查问卷查询功能（接口+页面）20分
     *
     * 7. 做问卷功能 15分*/
    List<QuestionDto> queryPage(UserQuestionQuery query);
    AjaxResult save(UserQuestionAdd add);
    List<UserQuestion> queryDetail(QuestionDetailQuery query);
}

